package com.stephen.bp.hexin.entity;

import java.math.BigDecimal;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("products")
public class Product {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer goodsClassId;
    private String title;
    private String subtitle;
    private String imageUrl;
    private BigDecimal price;
    private BigDecimal memberPrice;
    private Integer stock;
    private Integer saleCount;
    private String spec;
    private String attr;
    private String content;
    private Boolean isOpen;
    private Integer sort;
    private LocalDateTime createTime;
}